package com.ruoyi.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.business.domain.THomeworkStu;
import com.ruoyi.business.domain.TworkStuComment;
import com.ruoyi.business.domain.TworkStuCommentDetail;
import com.ruoyi.business.domain.bo.FinishedHomeWorkBo;
import com.ruoyi.business.domain.bo.GroupCommentBo;
import com.ruoyi.business.domain.vo.StuOtherCommentVo;
import com.ruoyi.business.domain.vo.THomeWorkStuVo;

import java.util.List;

/**
 * 作业互评主Service接口
 * 
 * @author 最爱喝兽奶
 * @date 2022-08-14
 */
public interface ITworkStuCommentService
{
    /**
     * 查询作业互评主
     * 
     * @param id 作业互评主主键
     * @return 作业互评主
     */
    public TworkStuComment selectTworkStuCommentById(Long id);

    /**
     * 查询作业互评主列表
     * 
     * @param tworkStuComment 作业互评主
     * @return 作业互评主集合
     */
    public List<TworkStuComment> selectTworkStuCommentList(TworkStuComment tworkStuComment);

    /**
     * 新增作业互评主
     * 
     * @param tworkStuComment 作业互评主
     * @return 结果
     */
    public int insertTworkStuComment(TworkStuComment tworkStuComment);

    /**
     * 修改作业互评主
     * 
     * @param tworkStuComment 作业互评主
     * @return 结果
     */
    public int updateTworkStuComment(TworkStuComment tworkStuComment);

    /**
     * 批量删除作业互评主
     * 
     * @param ids 需要删除的作业互评主主键集合
     * @return 结果
     */
    public int deleteTworkStuCommentByIds(Long[] ids);

    /**
     * 删除作业互评主信息
     * 
     * @param id 作业互评主主键
     * @return 结果
     */
    public int deleteTworkStuCommentById(Long id);

    List<StuOtherCommentVo> groupOtherComment(GroupCommentBo bo);

    List<StuOtherCommentVo> getAllCommentDetail(FinishedHomeWorkBo bo);


    public int teacherComment(THomeworkStu tHomeworkStu);

    public int studentComment(TworkStuCommentDetail tworkStuCommentDetail);


}
